//package com.hx.jeeadminweb.common.config;
//
//import com.hx.jeeadminbase.common.TimestampStringToDateConverter;
//import org.springframework.context.annotation.Bean;
//import org.springframework.format.FormatterRegistry;
//import org.springframework.validation.beanvalidation.MethodValidationPostProcessor;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
///**
// * @program: jeeadmin
// * @description: Web配置
// * @author: xxm
// * @create: 2019-10-30 15:00
// **/
//public class WebAppConfig implements WebMvcConfigurer {
//
//    @Bean
//    public MethodValidationPostProcessor methodValidationPostProcessor() {
//        return new MethodValidationPostProcessor();
//    }
//
//    @Override
//    public void addFormatters(FormatterRegistry registry) {
//        registry.addConverter(new TimestampStringToDateConverter());
//    }
//}
